package org.example.demo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class ProductShowParam {

    @ApiModelProperty(value = "商品id")
    private Long id;

    @ApiModelProperty(value = "商品类型：0果蔬、1花卉、2特产")
    private Long page;

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value = "图片")
    private String img;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "原价")
    private BigDecimal price;


    @ApiModelProperty(value = "折后价")
    private BigDecimal discount;

    @ApiModelProperty(value = "收藏人数")
    private Long cfav;

    @ApiModelProperty(value = "数组类型，服务类目，如“极速退款”，“运费险”，“48小时内发货”等 ")
    private String services;


}
